<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>柜员管理</title>
  <link rel="stylesheet" href="../layui/css/layui.css">
  <script src="../layui/layui.js"></script>
  <link rel="stylesheet" href="../css/basic.css">
  
  <style>
    .btn-wrap{
      margin:5px 20px;
    }
    .btn-wrap>button{
      float: right;
      margin: 0 10px;
    }
    
  </style>

</head>

<body>
  
  
  <div class="layui-col-sm8 layui-col-sm-offset2">

    <div class="btn-wrap layui-clear">
      <button id="addCounter" class="add-counter layui-btn">添加柜员</button>
    </div>

    <table id="table" lay-filter="table"></table>

  </div>

  
  

<script src="../js/teller-accountManage.js"></script>

</body>

<!-- 表格里的操作按钮 -->
<script type="text/html" id="ipts">
  <a lay-event="edit" class="layui-btn layui-btn-xs">编辑</a>
  <a lay-event="reset" class="layui-btn layui-btn-xs">重置密码</a>
</script>

<!-- 新增柜员的表单内容 -->
<div id="addCounterContent" class="bs-hidden fm-in">
  <form>
    <div class="layui-form-item">
      <label class="layui-form-label">用户名</label>
      <div class="layui-input-block">
        <input type="text" name="username" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">身份</label>
      <div class="layui-input-block">
        <select name="city" lay-verify="required">
          <option value="0">管理员</option>
          <option value="1">普通柜员</option>
        </select>
      </div>
    </div>  
    <div class="layui-form-item">
      <label class="layui-form-label">操作员号</label>
      <div class="layui-input-block">
        <input type="text" name="cNum" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
      </div>
    </div>
   
  </form>
</div>
<!-- 重置柜员密码的内容 -->
<div id="resetCounterpassword" class="bs-hidden fm-in">
  <form>
    <div class="layui-form-item">
      <label class="layui-form-label">旧密码</label>
      <div class="layui-input-block">
        <input type="password" name="oldpassword" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
      </div>
    </div>
    
    <div class="layui-form-item">
      <label class="layui-form-label">新密码</label>
      <div class="layui-input-block">
        <input type="password" name="newpassword" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
      </div>
    </div>
  </form>
</div>
</html>

